package com.my.cd.builder;

/**
 * 具体的生成器：3天假期计划生成器
 */
public class Common3dBuilder extends AbstractCommonBuilder {

    public Common3dBuilder(String std) {
        super(std);
    }

    @Override
    public AbstractBuilder buildVacation() {
        addTicket("Plane Ticket");
        addEvent("fly to Destination");
        addEvent("Supper");
        addEvent("Dancing");
        addHotel("Four Seasons");

        vacation.addDay();
        addTicket("Theme Park");
        addEvent("Bus to Park");
        addEvent("lunch");
        addHotel("Four Seasons");

        vacation.addDay();
        addTicket("Plane Ticket");
        addEvent("City Tour");
        addEvent("fly to Home");
        return this;
    }

}
